#define _CRT_SECURE_NO_WARNINGS 1
#include "heap.h"
int main()
{
	int a[] = {65,100,70,32,50,60};
	//HP hp;
	//HeapInit(&hp);
	//for (int i = 0; i < sizeof(a) / sizeof(int); i++)
	//{
	//	HeapPush(&hp, a[i]);
	//}
	//HeapPrint(&hp);

	//HeapDestroy(&hp);
	int n = sizeof(a) / sizeof(int);
	HeapSort(a, n);
	for (int i = 0; i < n; i++)
	{
		printf("%d ", a[i]);
	}
	return 0;
}